package com.hzspace.paramconverter;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;

/**
 * @Author: LiuHao
 * @Descirption:
 * @Date: 2020/3/1_22:54
 */
@RestController
public class HelloController {

    @GetMapping("/date")
    public void date(Date date){
        System.out.println(date);
    }
}
